package com.mlnx.weicesugartp.enums;

/**
 * Created by amanda.shan on 2019/11/26.
 * <p>
 * 0：成功
 * 1：加密错误，
 * 2：格式错误，
 * 3:不支持
 */
public enum ResponseStatus {
    SUCESS("0", "成功"), ENCRYPTION_ERROR("1", "加密错误"),
    FORMAT_ERROR("2", "格式错误"), NOT_SUPPORT("3", "不支持");

    private String code;

    private String msg;

    ResponseStatus(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
